using Orchard.UI.Resources;

namespace EMS.HTMLKickStart {
    public class ResourceManifest : IResourceManifestProvider {
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();
            // Define CSS
            manifest.DefineStyle("KickStart").SetUrl("kickstart.css");
            
            // Additional CSS - NOTE: Using "KickStart" will automatically include the following CSS
            manifest.DefineStyle("KickStart_Buttons").SetUrl("kickstart-buttons.css");
            manifest.DefineStyle("KickStart_Forms").SetUrl("kickstart-forms.css");
            manifest.DefineStyle("KickStart_Grid").SetUrl("kickstart-grid.css");
            manifest.DefineStyle("KickStart_Icons").SetUrl("kickstart-icons.css");
            manifest.DefineStyle("KickStart_Menus").SetUrl("kickstart-menus.css");

            manifest.DefineStyle("Chosen").SetUrl("chosen.css");
            manifest.DefineStyle("jQuery_Fancybox").SetUrl("jquery.fancybox-1.3.4.css").SetVersion("1.3.4");

            manifest.DefineStyle("Prettify").SetUrl("prettify.css");
            manifest.DefineStyle("TipTip").SetUrl("tiptip.css");
            
            // Define Scripts
            manifest.DefineScript("KickStart").SetUrl("kickstart.js").SetDependencies("jQuery");
            manifest.DefineScript("Prettify").SetUrl("prettify.js").SetDependencies("jQuery");
        }
    }
}
